package com.han.bom;

/**
 * An extension of the Report Object, a place-holder for the report containing the student and his/her performance in exams
 * 
 * @author Adjell Ian Pabayos
 * 
 * @version 1.0
 * @since JDK 1.7
 * 
 * @see Question
 *
 */

public class StudentExamReport extends Report {

	private Student student;
	
	/**
	 * Sole contructor.
	 * Initializes the professor and the student of this object through input
	 * 
	 * @param professor - The professor class
	 * @param student - The student class
	 */
	public StudentExamReport(Professor professor,Student student) {
		super(professor);
		this.student = student;
	}

	/**
	 * Returns the student associated with this report
	 * 
	 * @return
	 */
	public Student getStudent() {
		return student;
	}

	/**
	 * Sets the student to be included in this report
	 * 
	 * @param student
	 */
	public void setStudent(Student student) {
		this.student = student;
	}

}
